﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class ShopNpc : NPC
    {
        private string item;

        public string Item { get => item; set => item = value; }

        public ShopNpc(string name,NPCType type,string item):base(name,type) 
        {
            this.item = item;
        }

        public override void Speak()
        {
            Console.WriteLine("NPC:{0},商贩：我这里有{1}，可以得道升仙，长生不老，只要998,买不了吃亏，买不了上当，你值得拥有", this.Name,this.item);
        }
        public override void Speak1() 
        {
            Console.WriteLine("NPC:{0},商贩：我这里有{1}，快来看呀，这可是打造武器的绝佳材料", this.Name,this.item);
        }

        public override void Speak2()
        {
            Console.WriteLine("NPC：{0}，商贩：此次拍卖会要拍卖绝世名剑{1}", this.Name, this.item);
        }
    }
}
